package com.wang;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * SpringBoot的核心启动类
 * @author Zjx
 */
@SpringBootApplication
public class BannerApplication {
    public static void main(String[] args) {
        /**
         * 启动SpringBoot的程序
         */
        SpringApplication sa = new SpringApplication(BannerApplication.class);
        /* 设置banner,关闭banner */
        sa.setBannerMode(Banner.Mode.OFF);
        sa.run(args);
    }
}